 document.write('<html>\n<head>\n\n<title>Untitled Document</title>\n<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\n</head>\n\n<body>\n'); 

var imLeft="0"     //insert the left coordinate between the quotes on the left
var imTop="0"         //insert the top coordinate between the quotes on the left
var imWidth="475";		               //insert the image width between the quotes on the left
var imHeight="356";		               //insert the image height between the quotes on the left
var swfSrc="http://image.ugo.com/XMRadio/xmradio_immercial.swf";	                           //insert the path for the .swf between the quotes on the left
var clickThru="http://ad.doubleclick.net/clk;6402818;8461831;l?http://www.xmradio.com/xmpcr/";	   //insert the click-thru url between the quotes on the left

function displayImmercial()
{
  document.write('<div id="immercial" name="immercial" style="position:absolute;left:' + imLeft + ';top:' + imTop + ';z-index:1000">');
  document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
  document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"');
  document.write(' WIDTH=' + imWidth + ' HEIGHT=' + imHeight + '>');
  document.write('<PARAM NAME=movie VALUE="' + swfSrc + '?clickTAG=http://mediamgr.ugo.com/event.ng/Type%3dclick%26FlightID%3d24106%26AdID%3d37464%26TargetID%3d9105%26Segments%3d%26Targets%3d%26Values%3d25,31,43,51,60,82,92,93,100,110,150,177,198,212,547,557,599,624,654,730,742,743,1494,1496,1583,1656,1690,1843,1862,1867,1892,1978,2077,2099,2178,2291,2628,2637,2687,2699,2702,2709,2789,3029,3030,3119%26RawValues%3d%26Redirect%3d'+ clickThru + '"> <PARAM NAME=quality VALUE=high>');
  document.write('<PARAM NAME=bgcolor VALUE=#9A0000>');
  document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF><PARAM NAME=wmode VALUE=transparent>');
  document.write('<EMBED src="' + swfSrc + '?clickTAG=http://mediamgr.ugo.com/event.ng/Type%3dclick%26FlightID%3d24106%26AdID%3d37464%26TargetID%3d9105%26Segments%3d%26Targets%3d%26Values%3d25,31,43,51,60,82,92,93,100,110,150,177,198,212,547,557,599,624,654,730,742,743,1494,1496,1583,1656,1690,1843,1862,1867,1892,1978,2077,2099,2178,2291,2628,2637,2687,2699,2702,2709,2789,3029,3030,3119%26RawValues%3d%26Redirect%3d'+ clickThru + '" quality=high wmode=transparent bgcolor=#9A0000  WIDTH=' + imWidth + 'HEIGHT=' + imHeight + ' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
  document.write('</EMBED>');
  document.write('</OBJECT>');
  document.write('</div>');
}

function hideImmercial()
{
 immercial.style.visibility="hidden";
}

function hideTheseFrames(){
 var framesLength = document.frames.length;
 var frameElement;
 for(i = 0; i < framesLength; i++){
 frameElement = document.getElementsByTagName("IFRAME").item(i);
  frameElement.style.visibility="hidden";
 }
}


function showTheseFrames(){
 var framesLength = document.frames.length;
 var frameElement;
 for(i = 0; i < framesLength; i++){
 frameElement = document.getElementsByTagName("IFRAME").item(i);
  frameElement.style.visibility="visible";
 }
}
if (document.all)
{
  var flashVersion=0;
  document.write('<scr' + 'ipt language="VBScript"\> \n');
  document.write('on error resume next \n');
  document.write('if flashVersion < 6 and IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")) then flashVersion = 5 \n');
  document.write('if flashVersion < 5 and IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")) then flashVersion = 4 \n');
  document.write('</scr' + 'ipt\> \n');
  if (flashVersion>=4)
  { displayImmercial(); }
}
; document.write('\n\n\n\n</body>\n</html>'); 